
import { http } from "../plugins/axios"



 function register(userName:string,password:string){
      return http.request({
        url:`register`,
        method:"post",
        params:{
            userName:userName,
            password:password
          }
      })
}





export default {register}